export default defineEventHandler((event) => {
  const id = getRouterParam(event, "id");

  const result = SystemSchema.findByIdAndDelete(id);

  return result;
});
